package com.lianxian.xindong.me.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.me.di.module.MeModule;
import com.lianxian.xindong.me.mvp.contract.MeContract;

import com.hxb.library.di.scope.FragmentScope;
import com.lianxian.xindong.me.mvp.ui.fragment.MeFragment;


/**
 * @作者：hexingbo
 * @时间：06/30/2023
 * @描述：
 */
@FragmentScope
@Component(modules = MeModule.class, dependencies = AppComponent.class)
public interface MeComponent {
    void inject(MeFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MeComponent.Builder view(MeContract.View view);

        MeComponent.Builder appComponent(AppComponent appComponent);

        MeComponent build();
    }
}